//
// Created by lijinpeng on 2022/4/3.
//

#include "DisplayBasic.h"

FillStyle ParserFillStyle(const QString &name) {
    if (name == "outline")
        return FillStyle::Outline;
    else if (name == "solid")
        return FillStyle::Solid;
    else if (name == "X")
        return FillStyle::X;
    else if (name == "stipple_name")
        return FillStyle::Stipple;
    else if (name == "outlineStipple")
        return FillStyle::OutlineStipple;
    return FillStyle::Solid;
}


